Ensure variables are declared at the top of the block, and remove a ';;',
which C89 compilers don't like.
if (sidebar->drag_data_info == DND_GTK_SIDEBAR_ROW)
{
+ GtkWidget **source_row;
/* A bookmark got reordered */
if (target_section_type != SECTION_BOOKMARKS)
goto out;
- GtkWidget **source_row = (void*) gtk_selection_data_get_data (selection_data);
+ source_row = (void*) gtk_selection_data_get_data (selection_data);
reorder_bookmarks (sidebar, GTK_SIDEBAR_ROW (*source_row), target_order_index);
success = TRUE;
GVariant *parameter,
gpointer data)
{
- GtkPlacesSidebar *sidebar = data;;
+ GtkPlacesSidebar *sidebar = data;
GMount *mount;
g_object_get (sidebar->context_row,